<template>
  <div>
    <p><span>通道状态：</span><span class="tip">{{ fu.enter_status }}</span></p>
    <p><span>状态信息：</span><span class="err">{{ fu.error_info }}</span></p>
    <p><span>联系地址：</span>{{ fu.area }}</p>
    <p><span>详细地址：</span>{{ fu.address }}</p>
    <p><span>结算周期：</span>{{ fu.balance_type }}</p>
    <p><span>支付功能：</span><span v-for="item in fu.need_channel" :key="item">{{ item === 50 ? '银联（微信）条码支付' : item === 51 ? '银联（微信）扫码支付，' : item === 52 ? '银联（微信）公众号支付，' : item === 53 ? '银联（微信）小程序支付' : item === 1 ? '支付宝扫码支付，' : item === 2 ? '支付宝条码支付，' : item === 3 ? '支付宝一码多付，' : item === 17 ? '支付宝固定二维码，' : '' }}</span></p>
    <h4 class="tip">微信通道</h4>
    <p><span>签约费率：</span>{{ fu.wx_rate }} %</p>
    <p><span>经营类别：</span>{{ fu.wx_category }}</p>
    <h4 class="tip">支付宝通道</h4>
    <p><span>签约费率：</span>{{ fu.ali_rate }} %</p>
    <p><span>经营类别：</span>{{ fu.ali_category }}</p>
  </div>
</template>

<script>
export default {
  props: {
    fu: {
      type: Object,
      default: () => {}
    }
  }
}
</script>
